//package com.why.config;
//
//import org.springframework.cloud.gateway.route.RouteLocator;
//import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class GateWayConfig {
//    @Bean
//    public RouteLocator customerRouteLocator(RouteLocatorBuilder builder) {
//        // @formatter:off
//        return builder.routes()
//                .route("authriozation",r->r.uri("lb://authriozation").order(0).predicate(p->p.getRequest().getPath().equals("/authriozation/**")))
//                .build();
//        // @formatter:on
//    }
//}
